package com.ccz.demo.design.builder.demo2;

public class ProductA implements Builder {

    private Product product = new Product();


    public void createProductName(String productName) {
        product.setName("A产品的" + productName);

    }

    public void createProductDesc(String desc) {
        product.setDesc("A的" + desc);

    }

    public Product showProduct() {
        return product;
    }
}
